package com.myBlog.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@PropertySource(value = "classpath:project-config.properties")
@Component
public class ProjectConfigProperties {

    @Value("${upload.file.maxNameLen}")
    public int upload_file_maxNameLen;

    @Value("${upload.file.nameSplit}")
    public String upload_file_dot;
}
